<style>
#mainContent{max-width:960px;padding:30px 30px !important;    margin: 0 auto;background: #FFF;}
</style>
<div style="max-width:600px;margin:0 auto;">
    <h2 class="Knowledge-title text-center"><?php echo $Knowledge['Knowledge']['name']; ?></h2>

	<p>
	<a class="btn btn-primary btn-sm" href="{{Router::url('/admin/'.$current_controller.'/edit/'.$Knowledge['Knowledge']['id'])}}" target="_blank"><i class="fa fa-edit"></i> {{__('Edit')}}</a>
		<a class="btn btn-primary btn-sm" href="{{Router::url('/admin/'.$current_controller.'/add?cate_id='.$Knowledge['Knowledge']['cate_id'])}}" target="_blank"><i class="fa fa-plus"></i> {{__('Add')}}</a>

		<a class="btn btn-primary btn-sm" href="{{Router::url('/admin/'.$current_controller.'/delete/'.$Knowledge['Knowledge']['id'])}}" onclick="return confirm('是否确认要删除此数据？')"><i class="fa fa-remove"></i> {{__('Delete')}}</a>
	</p>

	<div class="Knowledge-info">
		阅读次数： <span class="ui-stats-num Stats-Knowledge-{{$Knowledge['Knowledge']['id']}}-view_nums"><?php echo $Knowledge['Knowledge']['view_nums']; ?></span>
    </div>
    <p><br/></p>
	<div class="Knowledge-body">
	    <?php echo $Knowledge['Knowledge']['content']; ?>
	    {{if $Knowledge['Knowledge']['remoteurl']}}
	    	<p>原文链接：<a href="{{$Knowledge['Knowledge']['remoteurl']}}" target="_blank">{{$Knowledge['Knowledge']['remoteurl']}}</a></p>
	    {{/if}}
	</div>
</div>
	
	